cmake_minimum_required(VERSION 3.20)

message("Current CMAKE_BUILD_TYPE:${CMAKE_BUILD_TYPE}")
project(test)

set(CMAKE_CXX_STANDARD 17)

add_subdirectory(./Math)

add_executable(test "main.cpp")
# 添加编译宏定义TEST
target_compile_definitions(test PRIVATE "-DTEST")

target_link_libraries(test PRIVATE math)

# 编译选项
target_compile_options(test PRIVATE -Wall)
# 编译特性
# target_compile_features(test PRIVATE cxx_std_20)